import { Component, OnInit } from '@angular/core';
import { updatePrimaryPalette } from '@primeuix/themes';
import { Header } from './layout/header/header';
import { Footer } from './layout/footer/footer';
import { Content } from './layout/content/content';

@Component({
    selector: 'app-root',
    imports: [Header, Footer, Content],
    templateUrl: './app.html',
})
export class App implements OnInit {

    ngOnInit(): void {
        this.changePrimaryColor();
    }

    changePrimaryColor() {
        updatePrimaryPalette({
            50: '{blue.50}',
            100: '{blue.100}',
            200: '{blue.200}',
            300: '{blue.300}',
            400: '{blue.400}',
            500: '{blue.500}',
            600: '{blue.600}',
            700: '{blue.700}',
            800: '{blue.800}',
            900: '{blue.900}',
            950: '{blue.950}'
        });
    }

}
